package com.kingint.mbg.dto.floor;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.kingint.mbg.bas.entity.BasRoom;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 楼层相关返回信息（后台使用）
 */
@Data
public class BasFloorReturn implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "楼层名称")
    @TableField("floor_name")
    private String floorName;

    @ApiModelProperty(value = "对应酒店id")
    @TableField("hotel_id")
    private Integer hotelId;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @TableField("status")
    private Integer status;

    /**
     * 对应的房间信息
     */
    @TableField(exist = false)
    private List<BasRoom> roomList;

}
